/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package edu.wpi.first.team1662.subsystems;

import edu.wpi.first.team1662.RobotMap;
import edu.wpi.first.wpilibj.Solenoid;
import edu.wpi.first.wpilibj.command.Subsystem;

/**
 *
 * @author Team 1662
 */
public class Climber extends Subsystem{
    
    private Solenoid climber;
    
    public Climber(){
        climber = new Solenoid(2);
    }
    
    public void initDefaultCommand(){
        climber.set(false);
    }
    
    public void extend(){
        climber.set(true);
    }
    
    public void retract(){
        climber.set(false);
    }
    
    public boolean isRunning(){
        return climber.get();
    }
}
